
export let X_PACK_TABLE_HEADERS = {

//接口定义
  API_DEFINITION_HEAD: [
    {id: 'num', label: "ID"},
    {id: 'name',  label: 'api_test.definition.api_name'},
    {id: 'method',  label: 'api_test.definition.api_type'},
    {id: 'versionId', key: 'b', label: 'project.version.name', xpack: true},
    {id: 'userName',  label: 'api_test.definition.api_principal'},
    {id: 'path',  label: 'api_test.definition.api_path'},
    {id: 'tags',  label: 'commons.tag'},
    {id: 'updateTime', label: 'api_test.definition.api_last_time'},
    {id: 'caseTotal',  label: 'api_test.definition.api_case_number'},
    {id: 'caseStatus', label: 'api_test.definition.api_case_status'},
    {id: 'casePassingRate', label: 'api_test.definition.api_case_passing_rate'},
    {id: 'status',  label: 'api_test.definition.api_status'},
    {id: 'createTime',  label: 'commons.create_time'},
    {id: 'projectName',label: 'report.project_name'},
  ],
//接口用例
  API_CASE_HEAD: [
    {id: 'num', label: "ID"},
    {id: 'name',  label: 'test_track.case.name'},
    {id: 'priority', label: 'test_track.case.priority'},
    {id: 'path', label: 'api_test.definition.api_definition_path'},
    {id: 'versionId', key: 'b', label: 'project.version.name', xpack: true},
    {id: 'execResult',  label: 'test_track.plan_view.execute_result'},
    {id: 'caseStatus',  label: 'commons.status'},
    {id: 'tags', label: 'commons.tag'},
    {id: 'createUser',  label: 'api_test.creator'},
    {id: 'updateTime',  label: 'api_test.definition.api_last_time'},
    {id: 'createTime', label: 'commons.create_time'},
    {id: 'projectName', label: 'report.project_name'},
    {id: 'passRate',  label: 'commons.pass_rate'},
    {id: 'environment',  label: 'commons.environment'},
  ],
  //场景测试
  API_SCENARIO_HEAD: [
    {id: 'num',  label: "ID"},
    {id: 'name', label: 'api_report.scenario_name'},
    {id: 'level',  label: 'api_test.automation.case_level'},
    {id: 'status',  label: 'test_track.plan.plan_status'},
    {id: 'versionId', key: 'b', label: 'project.version.name', xpack: true},
    {id: 'tags',  label: 'commons.tag'},
    {id: 'userName',  label: 'api_test.automation.creator'},
    {id: 'principalName',label: 'api_test.definition.api_principal'},
    {id: 'environmentMap',  label: 'commons.environment'},
    {id: 'updateTime', label: 'api_test.definition.api_last_time'},
    {id: 'stepTotal',  label: 'api_test.automation.step'},
    {id: 'lastResult',  label: 'api_test.automation.last_result'},
    {id: 'passRate',  label: 'api_test.automation.passing_rate'},
    {id: 'createTime', label: 'commons.create_time'},
    {id: 'projectName',  label: 'report.project_name'},
  ],
  //用例评审
  TEST_CASE_REVIEW_HEAD: [
    {id: 'name',  label: 'test_track.review.review_name'},
    {id: 'reviewer', label: 'test_track.review.reviewer'},
    {id: 'projectName', key: 'p', label: 'report.project_name'},
    {id: 'creatorName', label: 'test_track.review.review_creator'},
    {id: 'status',  label: 'test_track.review.review_status'},
    {id: 'createTime', label: 'commons.create_time'},
    {id: 'endTime', label: 'test_track.review.end_time'},
    {id: 'tags',  label: 'commons.tag'},
  ],
  //用例评审-功能用例
  TEST_CASE_REVIEW_FUNCTION_TEST_CASE_HEAD: [
    {id: 'num',  label: 'commons.id'},
    {id: 'name',  label: 'commons.name'},
    {id: 'priority',  label: 'test_track.case.priority'},
    {id: 'type',  label: 'test_track.case.type'},
    {id: 'nodePath',  label: 'test_track.case.module'},
    {id: 'projectName', label: 'report.project_name'},
    {id: 'reviewerName',  label: 'test_track.review.reviewer'},
    {id: 'reviewStatus',  label: 'test_track.case.status'},
    {id: 'updateTime',  label: 'commons.update_time'},
    {id: 'maintainerName',  label: 'custom_field.case_maintainer'},
  ],
  //测试计划
  TEST_PLAN_LIST_HEAD: [
    {id: 'name',  label: 'commons.name'},
    {id: 'userName',  label: 'test_track.plan.plan_principal'},
    {id: 'status',  label: 'test_track.plan.plan_status'},
    {id: 'stage',  label: 'test_track.plan.plan_stage'},
    {id: 'testRate', label: 'test_track.home.test_rate'},
    {id: 'projectName', label: 'report.project_name'},
    {id: 'plannedStartTime',  label: 'test_track.plan.planned_start_time'},
    {id: 'plannedEndTime',label: 'test_track.plan.planned_end_time'},
    {id: 'actualStartTime', label: 'test_track.plan.actual_start_time'},
    {id: 'actualEndTime',  label: 'test_track.plan.actual_end_time'},
    {id: 'tags',  label: 'commons.tag'},
    {id: 'executionTimes', label: 'commons.execution_times'},
    {id: 'passRate', label: 'commons.pass_rate'},
    {id: 'createUser',  label: 'commons.create_user'},
  ],
  //测试计划-功能用例
  TEST_PLAN_FUNCTION_TEST_CASE_HEAD: [
    {id: 'num',  label: 'commons.id'},
    {id: 'name',  label: 'commons.name'},
    {id: 'tags', label: 'commons.tag'},
    {id: 'nodePath', label: 'test_track.case.module'},
    {id: 'projectName', label: 'report.project_name'},
    {id: 'issuesContent',  label: 'test_track.issue.issue'},
    {id: 'executor', label: 'test_track.plan_view.executor'},
    {id: 'status', label: 'test_track.plan_view.execute_result'},
    {id: 'updateTime',  label: 'commons.update_time'},
    {id: 'createTime',  label: 'commons.create_time'},
  ],
  //测试计划-api用例
  TEST_PLAN_API_CASE_HEAD: [
    {id: 'num', label: 'commons.id'},
    {id: 'name',  label: 'api_test.definition.api_name'},
    {id: 'priority',  label: 'test_track.case.priority'},
    {id: 'path', label: 'api_test.definition.api_path'},
    {id: 'createUser', label: 'api_test.creator'},
    {id: 'tags',  label: 'commons.tag'},
    {id: 'execResult',  label: 'test_track.plan.execute_result'},
    {id: 'maintainer',  label: 'api_test.definition.request.responsible'},
    {id: 'updateTime', label: 'api_test.automation.update_time'},
    {id: 'createTime',  label: 'commons.create_time'},
    {id: 'environmentName', label: 'commons.environment'},
  ],
  //测试计划-性能用例
  TEST_PLAN_LOAD_CASE_HEAD: [
    {id: 'num', label: 'commons.id'},
    {id: 'caseName',label: 'commons.name'},
    {id: 'projectName',  label: 'report.project_name'},
    {id: 'userName',  label: 'load_test.user_name'},
    {id: 'createTime', label: 'commons.create_time'},
    {id: 'status', label: 'commons.status'},
    {id: 'caseStatus', label: 'test_track.plan.load_case.execution_status'},
    {id: 'loadReportId', label: 'test_track.plan.load_case.report'},
  ],
  //测试计划-场景用例
  TEST_PLAN_SCENARIO_CASE_HEAD: [
    {id: 'num', label: 'commons.id'},
    {id: 'name', label: 'api_test.automation.scenario_name'},
    {id: 'level', label: 'api_test.automation.case_level'},
    {id: 'tagNames',  label: 'api_test.automation.tag'},
    {id: 'stepTotal', label:  'api_test.automation.step'},
    {id: 'envs', label: 'commons.environment'},
    {id: 'passRate', label: 'api_test.automation.passing_rate'},
    {id: 'maintainer', label: 'api_test.definition.request.responsible'},
    {id: 'createUser', label: 'api_test.automation.creator'},
    {id: 'updateTime', label: 'api_test.automation.update_time'},
    {id: 'createTime', label: 'commons.create_time'},
    {id: 'lastResult', label: 'api_test.automation.last_result'},
    {id: 'projectName', label: 'report.project_name'},
  ],
  //测试用例
  TRACK_TEST_CASE_HEAD: [
    {id: 'num', label: 'commons.id'},
    {id: 'name',  label: 'commons.name'},
    {id: 'reviewStatus',  label: 'test_track.case.status'},
    {id: 'versionId', key: 'b', label: 'project.version.name', xpack: true},
    {id: 'tags',  label: 'commons.tag'},
    {id: 'nodePath',  label: 'test_track.case.module'},
    {id: 'updateTime',  label: 'commons.update_time'},
    {id: 'createUser',  label: 'commons.create_user'},
    {id: 'createTime', label: 'commons.create_time'},
    {id: 'desc', label: 'test_track.case.case_desc'},
    {id: 'projectName',  key: 'p', label: 'report.project_name'},
    {id: 'caseStatus',  label: 'commons.status'},
  ],
  //缺陷列表
  ISSUE_LIST_HEAD: [
    {id: 'num', label: 'test_track.issue.id'},
    {id: 'title',  label: 'test_track.issue.title'},
    {id: 'platformStatus',  label: 'test_track.issue.status'},
    {id: 'platform', label: 'test_track.issue.platform'},
    {id: 'creatorName',label: 'custom_field.issue_creator'},
    {id: 'resourceName', label: 'test_track.issue.issue_resource'},
    {id: 'description',  label: 'test_track.issue.description'},
    {id: 'caseCount',  label: 'api_test.definition.api_case_number'},
    {id: 'createTime',  label: 'commons.create_time'},
    {id: 'projectName', label: 'report.project_name'},
  ]

}
